package com.yitiao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yitiao.config.MybatisRedisCache;
import com.yitiao.entity.Article;
import java.util.List;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface ArticleMapper extends BaseMapper<Article> {
    int batchInsert(@Param("list") List<Article> list);
}